import 'package:flutter/cupertino.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';

import '../../config/public_color.dart';
import '../../config/public_text.dart';

/// FileName easy_refresh_header
///
/// @Author lax
/// @Date 2024/3/13
///
/// @Description

class EasyRefreshHeader extends ClassicalHeader {
  EasyRefreshHeader({Color? textColor})
      : super(
          refreshText: PublicText.refreshText,
          refreshReadyText: PublicText.refreshReadyText,
          refreshingText: PublicText.refreshingText,
          refreshedText: PublicText.refreshedText,
          refreshFailedText: PublicText.refreshFailedText,
          showInfo: false,
          textColor: textColor ?? PublicColor.lightText,
        );
}
